export const tableOption = {
    "border": true,
    "index": true,
    "indexLabel": "序号",
    "stripe": true,
    "menuAlign": "center",
    "align": "center",
    selection: true,
    arrow: false,
    addBtn: false,
    editBtn: false,
    delBtn: false,
    height: 450,
    "column": [{
        "type": "input",
        "label": "唯一标识",
        "prop": "id",
        hide: true,
    }, {
        "type": "input",
        "label": "线路编码不能重复",
        "prop": "lineCode",
        hide: true,
    }, {
        "type": "input",
        "label": "车站编码不能重复",
        "prop": "stationCode",
        hide: true,
    }, {
        "type": "number",
        "label": "纸币补币金额",
        "prop": "totalSupplementPaperAmount",
        "precision":2
    }, {
        "type": "number",
        "label": "硬币补币金额",
        "prop": "totalSupplementCoinAmount",
        "precision":2
    }, {
        "type": "number",
        "label": "补币合计金额",
        "prop": "totalSupplementAmount",
        "precision": 2
    }, {
        "type": "datetime",
        "label": "补币时间",
        "prop": "supplementCurrencyTime",
        format: 'yyyy-MM-dd HH:mm:ss',
        valueFormat: 'yyyy-MM-dd HH:mm:ss',
        width:90
    },{
        type: "date",
        label: "补币时间",
        prop: "supplementCurrencyTimeDto",
        format: 'yyyy-MM-dd',
        valueFormat: 'yyyy-MM-dd',
        search: true,
        hide: true,
        showColumn: false,
        display: false
      },	 {
        "type": "select",
        "label": "状态",
        "prop": "approvalStatus",
        dicData: [{
                label: '未提交',
                value: '0'
            },
            {
                label: '已提交',
                value: '1'
            }
        ],
        search: true,
        searchValue:'0'
    }, 	{
        width: 120,
        hide: false,
        label: '是否加入报表差错',
        prop: 'isAddReprotError',
        type:'select',
        dicData: [{
          label: '是',
          value: '1'
        },{
          label: '否',
          value: '0'
        }],
      }, {
        hide: false,
        label: '报表修改状态',
        prop: 'reportModifyStatus',
        type:'select',
        search: true,
		searchLabelWidth: 120,
       dicData: [{
        label: '修改中',
        value: '1'
       },{
        label: '已完成',
        value: '0'
       }],
      },{
        "type": "input",
        "label": "操作人员工号",
        "prop": "operatorId",
        hide: true,
    }, {
        "type": "select",
        "label": "操作人员",
        "prop": "operatorName",
        hide: true,
        searchLabelWidth: 90,
        search: true,
        params: {
            userCodeKey: 'operatorId'
        },
        component: 'user-select',
    }, {
        "type": "input",
        "label": "备注",
        "prop": "remark",
        hide: true,
    }, {
        "type": "input",
        "label": "部门ID",
        "prop": "deptId",
        hide: true,
    }, {
        "type": "input",
        "label": "创建人ID",
        "prop": "creatorId",
        hide: true,
    }, {
        "type": "input",
        "label": "创建人名称",
        "prop": "creatorName",
        hide: true,
    }, {
        "type": "input",
        "label": "创建时间",
        "prop": "createTime",
        hide: false,
        width:90
    }, {
        "type": "input",
        "label": "更新时间",
        "prop": "updateTime",
        hide: false,
        width:90
    }, {
        "type": "input",
        "label": "删除标志 1：删除 0：未删",
        "prop": "delFlag",
        hide: true,
    }]
}

export const tableOptionRecords = {
    "border": true,
    "index": true,
    "indexLabel": "序号",
    "stripe": true,
    "menuAlign": "center",
    "align": "center",
    arrow: false,
    refreshBtn: false,
    selection: false,
    viewBtn: false,
    addBtn: false,
    editBtn: false,
    delBtn: false,
    "column": [{
        "type": "input",
        "label": "唯一标识",
        "prop": "id",
        hide: true,
    }, {
        "type": "input",
        "label": "线路编码不能重复",
        "prop": "lineCode",
        hide: true,
    }, {
        "type": "input",
        "label": "车站编码不能重复",
        "prop": "stationCode",
        hide: true,
    }, {
        "type": "number",
        "label": "纸币补币金额",
        "prop": "totalSupplementPaperAmount",
        "precision":2
    }, {
        "type": "number",
        "label": "硬币补币金额",
        "prop": "totalSupplementCoinAmount",
        "precision":2
    }, {
        "type": "number",
        "label": "补币合计金额",
        "prop": "totalSupplementAmount",
        "precision": 2
    }, {
        "type": "datetime",
        "label": "补币时间",
        "prop": "supplementCurrencyTime",
        format: 'yyyy-MM-dd HH:mm:ss',
        valueFormat: 'yyyy-MM-dd HH:mm:ss',

    }, {
        hide: true,
        label: '报表修改状态',
        prop: 'reportModifyStatus',
        type:'select',
        dicData: [{
          label: '是',
          value: '1'
        },{
          label: '否',
          value: '0'
        }]
    },{
        "type": "select",
        "label": "操作人员",
        "prop": "operatorName",
        params: {
            userCodeKey: 'operatorId'
        },
        component: 'user-select',
    },{
        "type": "input",
        "label": "操作人员工号",
        "prop": "operatorId"
    }, {
        "type": "input",
        "label": "部门ID",
        "prop": "deptId",
        hide: true,
    }, {
        "type": "input",
        "label": "创建人ID",
        "prop": "creatorId",
        hide: true,
    }, {
        "type": "input",
        "label": "创建人名称",
        "prop": "creatorName",
        hide: true
    }, {
        "type": "input",
        "label": "创建时间",
        "prop": "createTime"
    }, {
        "type": "input",
        "label": "数据更新时间",
        "prop": "updateTime",
        hide: true
    },/* {
        "type": "input",
        "label": "备注",
        "prop": "remark",
         hide:true,
         editDisplay: false,
         viewDisplay: false,
    }, */{
        "type": "input",
        "label": "删除标志 1：删除 0：未删",
        "prop": "delFlag",
        hide: true,
    }]
}


export const formOption = {
    submitBtn: false,
    emptyBtn: false,
    labelWidth: 150,
    "column": [{
            "type": "number",
            "label": "补币金额",
            "prop": "totalSupplementAmount",
            "precision":2,
            "disabled":true,
            display: false
        },
        {
            "type": "datetime",
            "label": "补币时间",
            "prop": "supplementCurrencyTime",
            disabled: false,
            format: 'yyyy-MM-dd HH:mm:ss',
            valueFormat: 'yyyy-MM-dd HH:mm:ss'
        },
        {
            "type": "select",
            "label": "操作人员",
            "prop": "operatorName",
            search: true,
            rules: [{
                required: true,
                message: '请选择操作人员',
                trigger: 'blur'
            }],
            params: {
                userCodeKey: 'operatorId'
            },
            component: 'user-select',
        }, {
            "type": "input",
            "label": "操作人员工号",
            "prop": "operatorId",
            disabled: true,
        }/*, {
            "type": "textarea",
            "label": "备注",
            "prop": "remark",
            "span": 24,
            hide:true,
            editDisplay: false,
            viewDisplay: false
        }*/
    ]
}

export const formOptionView = {
    submitBtn: false,
    emptyBtn: false,
    labelWidth: 130,
    detail: true,
    "column": [{
        "type": "number",
        "label": "补币合计金额",
        "prop": "totalSupplementAmount",
		precision: 2,
    }, {
        "type": "select",
        "label": "操作人员",
        "prop": "operatorName",
        search: true,
        params: {
            userCodeKey: 'operatorId'
        },
        component: 'user-select',
    }, {
        "type": "input",
        "label": "操作人员工号",
        "prop": "operatorId"
    }, {
        "type": "datetime",
        "label": "补币时间",
        "prop": "supplementCurrencyTime",
        format: 'yyyy-MM-dd HH:mm:ss',
        valueFormat: 'yyyy-MM-dd HH:mm:ss'
    }/*, {
        "type": "textarea",
        "label": "备注",
        "prop": "remark",
        hide:true,
        editDisplay: false,
        viewDisplay: false

    }*/
	]
}